// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_PRODUCT_TEHINIC_HISTORY_ITEM
// * CreateDate    : 2011-11-14 09:54:22
// * Creater       : CodeSmith
// * LastChangeDate: 2011-11-14 09:54:22
// * LastChanger   : 2011-11-14 09:54:22
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdProductTehinicHistoryItemTable : TableInfo
    {
        public const string C_TableName = "PROD_PRODUCT_TEHINIC_HISTORY_ITEM";

        public const string C_ITEM_ID = "ITEM_ID";
        public const string C_HISTORY_ID = "HISTORY_ID";
        public const string C_SEQUENCE = "SEQUENCE";
        public const string C_TECHNIC_ID = "TECHNIC_ID";
        public const string C_GROUP_ID = "GROUP_ID";
        public const string C_PLAN_WORKING_HOUR = "PLAN_WORKING_HOUR";
        public const string C_COEFFICIENT = "COEFFICIENT";
        public const string C_REMARK = "REMARK";
        public const string C_PRICE = "PRICE";

        public ProdProductTehinicHistoryItemTable()
        {
            _tableName = "PROD_PRODUCT_TEHINIC_HISTORY_ITEM";
        }

        protected static ProdProductTehinicHistoryItemTable _current;
        public static ProdProductTehinicHistoryItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdProductTehinicHistoryItemTable();

            _current.Add(C_ITEM_ID, new ColumnInfo(C_ITEM_ID, "ItemId", true, typeof(string)));
            _current.Add(C_HISTORY_ID, new ColumnInfo(C_HISTORY_ID, "HistoryId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE, "Sequence", false, typeof(int)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID, "TechnicId", false, typeof(string)));
            _current.Add(C_GROUP_ID, new ColumnInfo(C_GROUP_ID, "GroupId", false, typeof(string)));
            _current.Add(C_PLAN_WORKING_HOUR, new ColumnInfo(C_PLAN_WORKING_HOUR, "PlanWorkingHour", false, typeof(decimal)));
            _current.Add(C_COEFFICIENT, new ColumnInfo(C_COEFFICIENT, "Coefficient", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE, "Price", false, typeof(decimal)));

        }

        public ColumnInfo ITEM_ID
        {
            get { return this[C_ITEM_ID]; }
        }

        public ColumnInfo HISTORY_ID
        {
            get { return this[C_HISTORY_ID]; }
        }

        public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }

        public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }

        public ColumnInfo GROUP_ID
        {
            get { return this[C_GROUP_ID]; }
        }

        public ColumnInfo PLAN_WORKING_HOUR
        {
            get { return this[C_PLAN_WORKING_HOUR]; }
        }

        public ColumnInfo COEFFICIENT
        {
            get { return this[C_COEFFICIENT]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }

        public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }



    }
}

